package com.ddwl.user.dao.mapper;

import com.ddwl.common.dao.mapper.TkMapper;
import com.ddwl.user.dao.model.User;
import com.ddwl.user.dao.model.UserLevel;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 用户等级mapper
 * @author wenbin
 */
@Repository
public interface UserLevelMapper extends TkMapper<UserLevel> {

    void batchUpdateLevel(@Param("list")List<User> users);

    void changeId(@Param("map") Map<String, String> map);
}
